
/*
'===============================================================================
'  Generated From - BLL_Type_Class.vbgen
'
'  This is a class type for a table in the DB. When created, the object represents 
'  one row in the table. There should be no need to add custom code to this class.
'  
'  Do not write custom business logic in this class as it will be overwritten 
'  next time the class is generated.
'
'  Version: 1.0
'  Date:	30/01/06
'  Summary: Default constructor and explicit constructor using parameters.
'===============================================================================
*/
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace PlacementManager
{
    public class Contact
    {
		#region Members
		private int _ContactId;
		private string _FirstName;
		private string _LastName;
		private string _Title;
		private string _JobTitle;
		private string _EmailAddress;
		private bool _IsAgency;
		private bool _IsEducator;
		private int _EducatorTypeId;
		private decimal _EducatorCurrentRate;
		private bool _IsActive;
		private int _DivisionId;
		private DateTime _DateCreated;
		private string _CreatedBy;
		private DateTime _DateUpdated;
		private string _UpdatedBy;
		#endregion

		#region Properties
		
		public int ContactId
		{
			get	{ return _ContactId; }
			set	{ _ContactId = value; }
		}
		
		public string FirstName
		{
			get	{ return _FirstName; }
			set	{ _FirstName = value; }
		}
		
		public string LastName
		{
			get	{ return _LastName; }
			set	{ _LastName = value; }
		}
		
		public string Title
		{
			get	{ return _Title; }
			set	{ _Title = value; }
		}
		
		public string JobTitle
		{
			get	{ return _JobTitle; }
			set	{ _JobTitle = value; }
		}
		
		public string EmailAddress
		{
			get	{ return _EmailAddress; }
			set	{ _EmailAddress = value; }
		}
		
		public bool IsAgency
		{
			get	{ return _IsAgency; }
			set	{ _IsAgency = value; }
		}
		
		public bool IsEducator
		{
			get	{ return _IsEducator; }
			set	{ _IsEducator = value; }
		}
		
		public int EducatorTypeId
		{
			get	{ return _EducatorTypeId; }
			set	{ _EducatorTypeId = value; }
		}
		
		public decimal EducatorCurrentRate
		{
			get	{ return _EducatorCurrentRate; }
			set	{ _EducatorCurrentRate = value; }
		}
		
		public bool IsActive
		{
			get	{ return _IsActive; }
			set	{ _IsActive = value; }
		}
		
		public int DivisionId
		{
			get	{ return _DivisionId; }
			set	{ _DivisionId = value; }
		}
		
		public DateTime DateCreated
		{
			get	{ return _DateCreated; }
			set	{ _DateCreated = value; }
		}
		
		public string CreatedBy
		{
			get	{ return _CreatedBy; }
			set	{ _CreatedBy = value; }
		}
		
		public DateTime DateUpdated
		{
			get	{ return _DateUpdated; }
			set	{ _DateUpdated = value; }
		}
		
		public string UpdatedBy
		{
			get	{ return _UpdatedBy; }
			set	{ _UpdatedBy = value; }
		}
		
		#endregion

        #region Constructors
		/// <summary>
        /// Explicit constructor using parameters.
        /// </summary>
        public Contact(int ContactId, string FirstName, string LastName, string Title, string JobTitle, string EmailAddress, bool IsAgency, bool IsEducator, int EducatorTypeId, decimal EducatorCurrentRate, bool IsActive, int DivisionId, DateTime DateCreated, string CreatedBy, DateTime DateUpdated, string UpdatedBy)
        {
			 _ContactId = ContactId;
			 _FirstName = FirstName;
			 _LastName = LastName;
			 _Title = Title;
			 _JobTitle = JobTitle;
			 _EmailAddress = EmailAddress;
			 _IsAgency = IsAgency;
			 _IsEducator = IsEducator;
			 _EducatorTypeId = EducatorTypeId;
			 _EducatorCurrentRate = EducatorCurrentRate;
			 _IsActive = IsActive;
			 _DivisionId = DivisionId;
			 _DateCreated = DateCreated;
			 _CreatedBy = CreatedBy;
			 _DateUpdated = DateUpdated;
			 _UpdatedBy = UpdatedBy;

        }
		
		/// <summary>
        /// Default constructor.
        /// </summary>
		public Contact()
        {

        }
		#endregion
	}
}
